package utils;
import java.util.Calendar;

public class Date {
	
	public static String getDate(){
		Calendar calendar = Calendar.getInstance();
		String[] daysOfWeek = {"SPACER", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"};
		String[] months = {"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"};
		String dayOfWeek = daysOfWeek[calendar.get(Calendar.DAY_OF_WEEK)];
		String month = months[calendar.get(Calendar.MONTH)];
		
		String date = dayOfWeek+" "+calendar.get(Calendar.DAY_OF_MONTH)+" "+month+" "+calendar.get(Calendar.YEAR);
		return date;
	}
}
